JSFiddle - React, Tailwind, and code Playground

HTML

<select id="one">
    <option id="one_val" value="one">one</option>
    <option id="two_val" value="two">two</option>
    <option id="three_val" value="three">three</option>
</select>

<span id="pin"></span>
<br/>
<span id="workspace"></span>

JavaScript

$('#one').clone(true, true).attr('id', 'two').appendTo('#pin');

//checking the ids of the options
$('option').each(function() {
   $('#workspace').append($(this).attr('id') + '<br/>'); 
});