Deep-duplicate Eloquent models and their relations. Choose per relation whether to copy, reference, or skip, with cycle detection, dry runs, an old→new key map, and Artisan commands.
Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives. Used by superstruct, merge-deep, and many others!