I stayed over 5 years, so I never had to repay any bonus. I can't be sure what the tax implications would be of it, but based on what I know about taxes (more than most, less than an expert) I suspect it would count against your taxable income in the year when you had to pay it back.