copy() can now copy cyclic (not graph) structures.
Added test cases.