Array utils

Utils to filter arrays and sets.