Fix clone method

Closes #135