Clone Linux user (copy user, based on another one)
It gets the source user’s groups (not including the group that’s the same as their login) and shell, then creates a new user with the same shell and secondary groups. There is no error checking, it’s just a quick and dirty clone script.