Create a Python script to remove all occurrences of duplicate elements from a given list.
mylist = [1,1,2,3,4,4,5,6]
mylist = [1,1,2,3,4,4,5,6]

unique_list = []
for element in mylist:
    if element not in unique_list:
        unique_list.append(element)

print(unique_list)