Arguably, its more like non-compete agreements but with the added fact that state enforcement of the agreements is in tension with freedom of speech.
But, you know, lots of jurisdictions sharply restrict enforceability of non-competes, too.
Read about record contracts. Prince spoke extensively about his restrictive contracts.