> No contract is allowed to take away what the law gives you.
That's incorrect. In fact this is exactly what all contracts do.
That's incorrect. In fact this is exactly what all contracts do.
Similarly, it's entirely possible to enter into a contract limiting your freedom of speech.
The entire point of a contract is to promise to do, or not to do, something that you could have freely chosen to do or not to do under the law without any contract.