$.unique works only for DOM elements