Merge: lib/core/math: add `Collection::sample`