Any clause in a contract whose purpose is either to exclude or limit the liability provided for in articles 1792, 1792-1 and 1792-2, or to exclude the guarantees provided for in articles 1792-3 and 1792-6 or to limit its scope, or to exclude or limit the joint and several liability provided for in article 1792-4, is deemed unwritten.