(1) The court, upon finding as a matter of law that a contract or contract clause was unconscionable at the time the contract was made, may refuse to enforce the contract, enforce the remainder of the contract without the unconscionable clause, or limit the application of any unconscionable clause to avoid an unconscionable result.
(2) Whenever it is claimed, or appears to the court, that a contract or any contract clause is or may be unconscionable, the parties, to aid the court in making the determination, must be afforded a reasonable opportunity to present evidence as to:
(a) The commercial setting of the negotiations;
(b) Whether a party has knowingly taken advantage of the inability of the other party reasonably to protect his or her interests by reason of physical or mental infirmity, illiteracy, inability to understand the language of the agreement, or similar factors;
(c) The effect and purpose of the contract or clause; and
(d) If a sale, any gross disparity at the time of contracting between the amount charged for the property and the value of that property measured by the price at which similar property was readily obtainable in similar transactions. A disparity between the contract price and the value of the property measured by the price at which similar property was readily obtainable in similar transactions does not, of itself, render the contract unconscionable.