Cloning option tags maintains also clones classes

Sometimes it is desirable to have classes on option tags. This modification copies any classes from the original option tag to the duplicated li tag.