copy

fun copy(): Rand

Copies a #GRand into a new one with the same exact state as before. This way you can take a snapshot of the random number generator for replaying later.

Return

the new #GRand

Since

2.4