Add new option:

-z --zap Defines if duplicate matching elements should be removed(zapped) instead of only being replaced (-r)

to the xmlModifier tool used by packaging scripts.