Replicate the elements of a list a given number of times

One of the 99 OCaml problems rewritten in F#