We already have an internal `_omitUndefined()` function that would be useful for deleting keys that are `===` undefined for cases like #14547.