fix cloning
Merge pull request #78 from jackalope/fix-clone

fix cloning