Avoid duplicates in multiple rolls

Is there a way to avoid duplicates in multiple rolls?

I have this loot table where I want to pick out three of the entries at random such as "red dye, green dye, blue dye" but the table I've created makes it possible for duplicates such as "red dye, red dye, green dye"

Is there anyway to circumvent it?

{
  "type": "minecraft:gift",
  "pools": [
    {
      "rolls": 3,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:brown_dye"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:yellow_dye"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:green_dye"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:blue_dye"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:red_dye"
        }
      ]
    }
  ]
}
Continue to help post