cloneGraph