If the input you’re using in Set Context isn’t a Json result (so you can’t use the Expression Builder), how about using the ‘String Functions’, using ‘split’, selecting a delimiter which is in the duplicate list you’re trying to put in Set Context (commonly a ‘,’), this will generate a jsonresult, of which you can use the above reference provided by KentPhelps to use the distinct() function.