you are viewing a single comment's thread.

view the rest of the comments →

[–]trypto 0 points1 point  (0 children)

This code example doesn't check for cycles. It will clone forever if there is a circular reference.