Not a problem. Deport their families if they’re illegal. Give them the choice to be transported if they’re citizens (not anchor babies).
We are not like the old Soviet Union. We do not prohibit anybody from leaving.