That's not what I said. Of course there are things that can't be contractually agreed. I hope you see the difference in moral weight that contracts to commit murder or be someone's slave have when compared to contracts that stipulate certain restrictions on the use of objects, restrictions that don't influence the normal, primary use case of the object.
That's total nonsense, at least in my country. Any abusive clause would be nulified, even if the rest of the contract is valid. You can't put in a contract anything. You can't give up rights that the law gives you no matter what. I.e. you can't sign to be a slave.