companies legitimately trying to retain top talent
Basically blacklisting them from their field for a year after leaving your company is not how you retain talent. Pay them better. Give them better health coverage or other benefits. Only being able to retain talent by basically threatening them if they leave is not a good look.