rand
sampling from an array accepts an optional rng
#9065
+47
−29
Merged