The biggest issue is if it was everyone or just some people. If it’s just some people then everyone who didn’t get more by error is going to be pretty salty if those who got the extra keep it.
Also because bonuses have higher withholding the only viable ‘repayment’ is deduction from future bonuses.