Clone bug

Closes #176.