code: function(elem) {
  	if (!svgedit.browser.isGecko()) {return elem;}
  	var clone = elem.cloneNode(true);
  	elem.parentNode.insertBefore(clone, elem);
  	elem.parentNode.removeChild(elem);
  	selectorManager.releaseSelector(elem);
  	selectedElements[0] = clone;
  	selectorManager.requestSelector(clone).showGrips(true);
  	return clone;
  }
docs: Function: ffClone Hack for Firefox bugs where text element features aren't updated or get messed up. See issue 136 and issue 137. This function clones the element and re-selects it TODO: Test for this bug on load and add it to "support" object instead of browser sniffing  Parameters: elem - The (text) DOM element to clone