Default Go back to unlocked, S-On, and not tampered for Dev Edition?

Is there a process to go back to stock software, s-on, unlocked bootloader, and not tampered from a dev edition that is currently rooted, bootloader unlocked, not tampered, and s-off? I know this was possible with the M7.