I never heard of that. I'm originally from the EU and in the country I'm from, employers cannot control what you do in your spare time, and do not automatically own what you do outside your day job. In the US that's much more complicated.
If you are self employed, you might not get the same contract. In our contracts, what has been discussed in the thread was clearly stated by our employer (I asked my colleagues about their older contracts as well).