Returns an independent, mutable copy of this graph (further changes to either do not affect the other).