detab
fix Issue 9656 - Built-in dup result should behave as like unique array, if it is possible
Merge pull request #1943 from 9rnsr/fix9656

Issue 9656 - Built-in dup result should behave as like unique array, if it is possible.
Do not rely on implicit conversion from 0 to enum type
Merge pull request #2004 from yebblies/enumconv

[DDMD] Do not rely on implicit conversion from 0 to enum type