Change do_multi to not mutate client input