The clerk may administer any oath or take any affidavit required or permitted in the progress of an action.