ivaynberg/select2 — pull request #2509 by mlohmann (2014-07-03 19:42:53+00:00)
Title: Added property "addedFromSelection". Default is false, but once a option...

... is selected from the drop down, it is set as true. This prevents unwanted duplicate options being pushed into the "val" array within the method "addSelectedChoice" during instantiation.