allow duplicate fields when structurally extending if the types are equal (closes #3081)