[Issue #215, #91] implement operation.dup