clone graph on new nodes