Fix bug DNN-3412: check duplicate items in AddField/AddProperty method.