Among the ways you can do layoffs, this is one of the better ones for sure. People who are kind of checked out already anyway can get a nice paycheck on their way out and start looking for something new, while people who still have something important to get out of the job get the option to stay.
Consent matters!