This is not a bug, when this is converted to legacy operations you get two :add operations for "Duplicate" and it fails.
new model handles that properly (also other subsystem tests still test this)