Pay them more. And then pay them extra to do the work necessary to let them go. And then pay them a big bonus if the transition goes smoothly.
Saying fuck you, you make me rich, and I resent that I can’t get rich without your effort is no way to act, even if you can get away with it.