Changed the definition of cloning.

Closes #5