JQuery plugin to clone a group of elements with the management of ids