Add `instanceClone` parameter to `lang/clone`

Defines the behaviour of cloning instances of custom types