replace shallow clone with deep clone
Merge pull request #8 from Shortbreaks/master

replace shallow clone with deep clone