Fix copying of graphs with internal unwritable properties