Earlier quoted context omitted.
This might sound wild, but maybe the decent thing to do is if the company warns the team months in advance that a purge is coming. Let those who need to leave, leave. Quietly tell those who you really want to remain that they should not fear.
It does sound wild. Letting people who are likely angry having access to company resources and financials being able to make real damages to Stripe's customers. Companies want to keep high performers. Voluntary layoffs is a very dumb move.
Here in the UK an employer has to inform the government and go through a mandatory redundancy process when laying off more than a given number of employees (I think it's 100 off the top of my head). At my last role I was put at risk of redundancy and went through the process. One of the first steps of that process was offering voluntary redundancy which had a higher redundancy package than if you received compulsory redundancy.
If someone was considering leaving, or was close to retirement leaving voluntarily gave them the opportunity to leave early and with a nice payout. Or if you had skills high in demand it gave you the opportunity to get a lump sum and walk into a new job.
This significantly reduced the need for the company to make compulsory redundancies.