remove repeating objects in the array

Hello, I want to remove the repeating objects in roArray. How can we do that?
ex if i have a array:{
“A”
“B”
“C”
“A”
“B”
“C”
“A”
“B”
}

my output array should be like:
{
A, B, C
}

Thanks,
Pradeep