The replace attribute determines whether items in the list are replaced into the selection pool after being randomly selected.
<list>
boolean | A boolean value set to true or false. |
The replace attribute can be specified only if selectionmode is set to 'uniform' or 'normal', otherwise it will produce an error. If false, items are randomly selected without replacement into the pool. Once all items have been selected, the pool is reset and all items are returned to the pool. If set to true, items are randomly selected with replacement into the pool. By default, it is false.