And yet it's still in a contract. Just because it's unenforcable doesn't mean you're not going to have a shit time dragging your employer to court over it.
That's what happened in my case. I signed it regardless because the law in my country makes this worth as much as the paper it's written on but you know... Your options are either to roll with it or move on to the next job.