Confused about .clone()

Confused about .clone()

Hi,

I have used .clone() to date always in the context of ui-draggable helpers etc, ie always on anonymous DOM elements.  I today for the first time had occasion to duplicate a properly deep DOM structure, full of id'ed elements.  I was surprised (not sure why) to find that .clone() faithfully clones every id.  Therefore, after I inserted the clone into the DOM, the DOM had two ids of everything.  Is this a problem?  I retrieved the children I needed to target with $("no-longer-quite-so-unique-id",clone).

Thanks.