If the defendant, at any time before judgment, causes a bond to be executed to the plaintiff with sufficient sureties, to be approved by the officer having the attachment, or after the return thereof, by the clerk, to the effect that the defendant will perform the judgment of the court, the attachment shall be discharged, and restitution made of property taken or proceeds thereof.
Iowa Code § 639.42
Referred to in §537.5110
Similar provisions, §639.45, 643.12, 667.7