Clone stream

send an available PR for #9