If the destination zone already exists at the cloud provider, the template's Take over existing DNS zones? option controls the move. When enabled, Virtualmin manages the existing records and keeps any provider-specific settings, such as proxy settings. Source records are not copied over them. When disabled, Virtualmin refuses the move before changing either zone.
Update the domain's nameservers at its registrar as needed when moving DNS hosting.