Add cloning capability.
Merge pull request #3 from ssobczak/master

Add cloning capability. Thanks for contributing!