clone

The clone() method of the MediaStream interface creates a duplicate of the MediaStream.

MDN Reference