Easiest way to solve one and done, and others who leave before graduating, is to just take one scholarship away from school for each player who leaves early and hold that take away until the year player would have graduated.
That is not viable as it indicates it is the school’s decision - which it is not. It is the player’s decision. A school can’t force a player to stay there.