@Override
 public DefaultKernelContainer<InputType> clone() {
   @SuppressWarnings("unchecked")
   final DefaultKernelContainer<InputType> result =
       (DefaultKernelContainer<InputType>) super.clone();
   result.kernel = ObjectUtil.cloneSmart(this.kernel);
   return result;
 }
 /**
  * Creates a new copy of a KernelContainer and the kernel inside.
  *
  * @param other The KernelContainer to copy.
  */
 public DefaultKernelContainer(final DefaultKernelContainer<? super InputType> other) {
   this(ObjectUtil.cloneSmart(other.getKernel()));
 }