Simplify `baseUniq`.
Remove array and object pools.