Duplicates the given graph and adds the duplicate to the graphs array.
NavGraph
graph
Only graph settings are duplicated, not the nodes in the graph. You may want to scan the graph after duplicating it.
The duplicated graph.