Any tips for being the guy who gets laid off? I'd like to have an excuse to take a few months break but when layoffs happen they never pick me.
Success depends on your relationship with your manager and if they actually have control over who gets let go.
Stop picking up extra work just because you can do it.
Start working less hard (spend a few hours a day on hacker news, for example).
Sadly, the above often results in more promotions and being considered more important, for some reason. I can't explain it.
They will usually oblige you because you are solving a problem for them (meeting their cut headcount requirements) and they know that if you stay you might leave anyway and if you don't you'll be unhappy.
Heck, if they layoff is a surprise, ask your boss if you can swap with someone else. They often have the flexibility to do that.