A person building a fence may lay the same upon the line between the person and the adjacent owners, so that it may be partly on one side and partly on the other, and the owner shall have the same right to remove it as if it were wholly on the owner's own land.
Iowa Code § 359A.16