Reimplement 'Duplicate' command to do the same as Copy/Paste