add cloneGraph