enables clone functionality, fixes #9