It shall be within the power of each and every presiding offcer [officer] of the several courts of this state, whether of record or not of record, to preserve order and decorum, and for that purpose to punish contempts by reprimand, arrest, fine or imprisonment, being circumscribed by the usage of the courts of the United States.
NMS § 34-1-2