When property of the defendant found in his possession, or in the hands of any other person, shall be attached, the defendant or such other person may retain possession thereof by giving bond and security to the satisfaction of the officer executing the writ, to the officer or his successor in double the value of the property attached conditioned that the same shall be forthcoming when and where the court shall direct, and shall abide the judgment of the court.
NMS § 42-9-20