Generate unique values in an array uisng 'unique' keyword

This works fine with my version of Questa. Perhaps you need to upgrade as this is a new feature of 1800-2012.