clone
clone copied to clipboard
adding support for shallow clones of objects/arrays
Fixes #7 and adds support for shallow-cloning arrays/objects.
This change is fully backwards-compatible, it simply adds another argument/flag. (tests included)