duplicate(elem, count)
Duplicates elem count times in a stream.
elem
count
If count is 0, an empty stream is returned.