(a) Any person arrested in this State charged with having committed any crime in any state or alleged to have escaped from confinement, or broken the terms of the person's bail, probation, or parole may waive the issuance and service of the warrant provided for in sections 832-7 and 832-8, and all other procedure incidental to extradition proceedings, by executing or subscribing in the presence of a judge of any court of record within this State a writing which states that the person consents to return to the demanding state; provided that before the waiver is executed or subscribed by the person the judge shall inform the person of the person's rights to the issuance and service of warrant of extradition and to obtain a writ of habeas corpus as provided for in section 832-10. If and when such consent has been duly executed it shall forthwith be forwarded to the office of the governor of this State and filed therein. The judge shall direct the officer having the person in custody to deliver forthwith the person to the duly accredited agent or agents of the demanding state, and shall deliver or cause to be delivered to such agent or agents a copy of such consent; provided that nothing in this section shall be deemed to limit the rights of the accused person to return voluntarily and without formality to the demanding state, nor shall this waiver procedure be deemed to be an exclusive procedure or to limit the powers, rights, or duties of the officers of the demanding state or of this State.