Items with spaces can be added infinite times on multiselects
Add optional parameter transformVal that allows the user to define transformation for splitVal

Example demo:
(Infinite spaces, default transformVal):
(No infinite spaces, transformVal = function (x) { return x; }):