Add clone as a reprconv function

This is /slightly/ less efficient than the interpreted version,
since that version can store the allocated object directly
to a register, and the function cannot.