Government intervention is heavy handed and will cause unintended side affects with 100% certainty. What should happen is for: 1) employees to choose to not join companies with contracts that they don't agree with 2) employers offer better incentive to not leave for roles at risk to poaching e.g. RSUs. A natural market response to bad company policy is always preferred to government mandates.
They’re just not useful and themselves an arbitrary restriction of employment that has no place in a a free market.