Deputy clerks of the district and county courts in this state are authorized to take acknowledgments of deeds and other instruments in writing in the name of their principals, and the acknowledgments shall be as legal and as valid as if taken by their principals.