I don't want to remove duplicates. I want them, that is the problem. My flow works like this.
The item is created into my sharepoint list with mails into multiline text column in form like this: "Mail@gmial.com;Mail@gmial.com;Mail@gmial.com;".
Then I initialize "ArrayOfMails" type Array.
Then I set it using "split(triggerBody()?['AllMails'],'; ')".
Then I have my first approval where I put my "AllMails" in field AssignedTo.
And then goes the rest of my flow but this is not important.