public LinkerState copy() {
			LinkerState cp = new LinkerState();
			cp.whichFocus = this.whichFocus;
			for (FieldState fs : fieldStates) {
				cp.fieldStates.add(fs.copy());
			}
			return cp;
		}
Copy the state

@return the copy
Ghidra/Framework/Docking/src/main/java/docking/widgets/textfield/TextFieldLinker.java