Whenever pursuant to this chapter a court stays, postpones, or suspends (1) the enforcement of an obligation or liability, (2) the prosecution of a suit or proceeding, (3) the entry or enforcement of an order, writ, judgment, or decree, or (4) the performance of any other act, the court may likewise grant such a stay, postponement, or suspension to a surety, guarantor, endorser, accommodation maker, comaker, or other person who is or may be primarily or secondarily subject to the obligation or liability the performance or enforcement of which is stayed, postponed, or suspended.