Add a 'copy' action to One2Many and Many2Many's set method

issue3341
review1271002