1671. Obligations are extinguished not only by the causes of extinction contemplated in other provisions of this Code, such as payment, the expiry of an extinctive term, novation or prescription, but also by compensation, confusion, release, impossibility of performance or discharge of the debtor.