Updated deduped() to work correctly on list inputs.
Deprecation
deduped_map() was deprecated since it was found to be slower
and more complex in most cases compared to deduped(lapply)() or
deduped(purrr::map)(), once the list-input issue (above) was fixed.