protected Object getFieldTemplate(Object obj, String fieldname, Node child)
	{
		Object template = getFieldValue(obj, fieldname);

		// Arrays are replaced completely
		if (template != null && template.getClass().isArray())
		{
			template = null;
		}
		// Collections are cleared
		else if (template instanceof Collection)
		{
			((Collection<?>) template).clear();
		}

		return template;
	}