The only thing I would add is that if you do it from the Settings menu under Backup & reset it also deletes all of your pictures, music, and anything else you have stored on there.
What would happen if you were running a custom ROM? Would it revert to being a stock rooted, unlocked ROM or the same ROM without any of the personal data?