Applying unique to random variables

In reply to Etrx91:

The unique constraint needs more than one integral value, otherwise it does nothing, Why not use randc for this?