Clone arrays in Graph.set