According to Apple,
"macOS Monterey includes Erase All Content and Settings, a way to quickly and securely erase all of your settings, data, and apps, while maintaining the operating system currently installed."
Does anyone know the details about what happens in the background and if it differs from erasing the drive via Disk Utility in Recovery Mode and reinstalling macOS?
Extra info: Apple put my M1 MacBook Pro in an out-of-box state recently when they were servicing it. I used Migration Assistant to restore from a Time Machine backup, and since then have been experiencing a number of bugs with various apps (both native & 3rd party) and iCloud syncing. So I'd like to just rebuild this machine from scratch. I'm wondering if Erase All Content and Settings might leave any trace system settings or files that were created from or since restoring via Migration Assistant.