How can i duplicate an HashMAP with duplicate values : so i need to create new hashmaps that contain only the duplicate values of my first hashmap

    Original map: {Player1=Hello, Player2=Hi, Player3=Hi, Player4=Hello, Player5=Hello}
    Hello map: {Player1=Hello,Player4=Hello, Player5=Hello}
    Hi map: {Player2=Hi, Player3=Hi}


what is best way to do?

Thanks !!