You could have this flexibility with accrued PTO. I've previously given employees additional, off-the-books time off because they needed and deserved it and when we all got laid off they still got the remaining PTO paid out.
Edit: add section on flexible alternative