smaz: add functions that return directly the filtered array