When a claim is secured by a mortgage on property, the court may, with the consent of the mortgagee, order the sale of the property subject to the mortgage, and such consent shall release the estate should a deficiency later appear.
Iowa Code § 633.390