I recently read a Vox article that explained how California courts don't enforce contracts that limit employee mobility (and partially explains why behavior like this is possible):
http://www.vox.com/new-money/2017/2/13/14580874/google-self-...
http://www.vox.com/new-money/2017/2/13/14580874/google-self-...