The property and pecuniary rights of every married woman at the time of her marriage or afterwards acquired by gift, devise, or inheritance shall not be subject to the debts or contracts of her husband, and she may manage, sell, convey or devise the same by will to the same extent and in the same manner that her husband can property belonging to him.