cloneRange
Summary
Returns a new range with boundary points that are equal to the original range.
Syntax
var clone = range.cloneRange();
Return Value
Returns an object of type RangeRange
Examples
var range = document.createRange();
range.selectNode(document.getElementsByTagName("div").item(0));
var clone = range.cloneRange();
Syntax
clone = range.cloneRange();
Standards information
Attributions
Mozilla Developer Network : [Range.cloneRange Article]
Microsoft Developer Network: [cloneRange Method Article]