/** * Create a new {@link NumericProperty} cloned from the given property, setting this {@link DataTarget} as property * parent path. * @param <N> Number type * @param fromProperty The property to clone (not null) * @return The cloned property */ default <N extends Number> NumericProperty<N> property(NumericProperty<N> fromProperty) { ObjectUtils.argumentNotNull(fromProperty, "Property must be not null"); return fromProperty.clone(builder -> builder.parent(this)); }