Added shallow clone and clone tests
Merge pull request #2 from selfcontained/shallow-clone

Added shallow clone and clone tests