public void setAllowDuplicates(boolean allowDuplicates) {
		this.allowDuplicates = allowDuplicates;
	}
True signals that this list will allow duplicate entries.  False signals to not only not
allow duplicates, but to also move the position of an item if it is re-added to the 
list.
  
<p>For correct behavior when not allowing duplicates, ensure you have defined an 
<code>equals</code> method to work as you expect.  If two different items are considered
equal, then this class will only remove the duplicate if the equals method returns true.

<p>The default is false

@param allowDuplicates true to allow duplicates
Ghidra/Framework/Generic/src/main/java/util/HistoryList.java