/** * Copy this {@link FeaturesCapable} into another {@link FeaturesCapable} * instance. * * @param target */ protected void copyInto(FeaturesCapable target) { target.features = target.createFeaturesMap(); target.features.putAll(features); target.validations = validations != null ? validations.clone() : null; }