add resize method to rng_set and clones to Sampler and Particle