When an answer is required to be sworn to, the oath may be administered as in case of the bill of complainant. The power of the court or clerk and master to appoint a special commissioner to administer the oath, either in this or any other state, is not affected by this section.