expert-common/src/main/java/org/geomajas/sld/editor/expert/common/client/model/SldModelImpl.java
public void clear() {
		rawSld = new RawSld();
		dirty = false;
		valid = false;
		template = null;
		sldDescriptor = null;
	}
public void clear() {
		rawSld = new RawSld();
		dirty = false;
		valid = false;
		template = null;
		sldDescriptor = null;
	}
Does not clear templateNames.