Create a Python function to remove duplicates from the given list.
[1, 2, 3, 2, 3]
def remove_duplicates(list):
  new_list = []
  for item in list:
    if item not in new_list:
      new_list.append(item)
  return new_list