rep.repgrid function

Replicate repgrid objects