native-clone
provides cloneSync()
and cloneAsync()
methods wrapping
native/built-in implementations of the HTML5 Structured Clone algorithm, as
described in this Stack Overflow post.
This is a hack and some implementations may have poor performance or minor side effects.