TodoFilter () { try { TodoFilter filter = (TodoFilter)super.clone(); filter.myTodoPatterns = new HashSet<>(myTodoPatterns); return filter; } catch (CloneNotSupportedException e) { LOG.error(e); return null; } }