This answer quotes ChatGPT
A Select selector that uses Element to create an entry is de-duplicated by default. If you want it not to be de-duplicated, you can set multiple to multiple="multiple" and then use the same value when creating options to create multiple options. For example:
<select multiple="multiple">
<option value="apple">Appleoption>
<option value="banana">Bananaoption>
<option value="apple">Appleoption>
<option value="cherry">Cherryoption>
<option value="banana">Bananaoption>
select>
In this example, the multiple attribute tells the browser that it can select multiple options, and then uses the same value to create multiple options that are not de-duplicated.