We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE


The clone() method of the MediaStreamTrack interface creates a duplicate of the MediaStreamTrack. This new MediaStreamTrack object is identical except for its unique id.


var track = MediaStreamTrack.clone();



Return value

A new MediaStreamTrack instance which is identical to the one on which clone() was called, except its ID is a new, unique, value.


Specification Status Comment
Media Capture and Streams
The definition of 'clone()' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support45 ?48 ?32 ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support4545 ? ?32 ? ?

Document Tags and Contributors

 Contributors to this page: fscholz, Sheppy, jpmedley
 Last updated by: fscholz,