Added functions

Added function `unique` and `get_unique`.