Also duplicate the base file when duplicating a material profile
Also duplicate the base file when duplicating a material profile

This way serialization will always be correctly performed and we can
generate
a machine/variant specifc ID for the duplicate.

Contributes to CURA-341

ynotstartups/Wanhao,Curahelper/Cura,senttech/Cura,totalretribution/Cura,hmflash/Cura,Curahelper/Cura,hmflash/Cura,totalretribution/Cura,senttech/Cura,ynotstartups/Wanhao,fieldOfView/Cura,fieldOfView/Cura