input: Write a function to remove all duplicates from a given array of strings and return the resulting array with unique elements. If the given array is empty, return an empty array.
  
  def removeDuplicates(arr):
      result = []
      for i in arr:
          if i not in result:
              result.append(i)
      return result
  
  assert removeDuplicates(['a', 'b', 'a', 'c', 'c', 'd']) == ['a', 'b', 'c', 'd']
  assert removeDuplicates(['apple', 'banana', 'apple', 'cherry']) == ['apple', 'banana', 'cherry']
  assert removeDuplicates(['x', 'y', 'z']) == ['x', 'y', 'z']
  assert removeDuplicates([]) == []
output: def removeDuplicates(arr):
      result = []
      for i in arr:
          if i not in result:
              result.append(i)
      return result