This is more of a FYI.
We're deploying a large amount of iphones soon and they will be replacing the users current iphone. Come to find out that apple released iOS 12.4 and has a new function to transfer your data to a new phone without using iTunes. It'll do a direct phone to phone transfer. It works pretty seamless, but there's one problem, it doesn't keep Meraki MDM profile during the process. It does show the Meraki Profile being loaded during startup of the new phone, but once it starts transferring all of the data, the profile isn't in the phone. Then I have to manually load SM on and enroll the device. The Meraki dashboard will say its DEP and supervised after the enrollment. But, doing this method, I'm able to remove the management profile from settings.
https://9to5mac.com/2019/07/23/transfer-data-from-iphone/
Before iOS 12.4 was released, backup and restore via iTunes, the Meraki MDM profile couldn't be removed by the end user.