Programmer's Guide > Interfaces > W3C Range interface > cloneRange method
  
cloneRange method
Produces a new Range whose boundary-points are equal to the boundary-points of the Range.
cloneRange( )
Parameters
None
Returns
Range. The duplicated Range.
Throws
DOMException
INVALID_STATE_ERR: Raised if detach() has already been invoked on this object.