What if the company pays 100k for your extra education in some specific niche field, and you then quit and get a 50k starting bonus at a competing company, that doesn't have to invest 100k for your education?
Common clause here if you go to a more expensive conference that you won't leave in 1 year or else you repay the costs. Same more or less can apply to learnings.
How would you know what specialized education the next employer needs? Also, that assumes that classes are equivalent to on the job training.
I guess you could get a job in the non-compete window, but only be trained by the next employer while the previous one paid. That seems complicated and silly though.