Duplicate variants when duplicating products

Fixes #4029
Fixes #4264