issue #19261: Add explicity support to turn off dup. check. Fix destroy bug.