code: public PropertyDescriptorImpl shallowCopy() {
      final ConstraintDescriptorImpl<?>[] desc = new ConstraintDescriptorImpl<?>[descriptors.size()];
      descriptors.toArray(desc);
      return new PropertyDescriptorImpl( //
          name, //
          elementClass, //
          cascaded, //
          parentBeanMetadata, //
          validationGroupsMetadata, //
          desc);
    }
docs: create a copy of this instance and return it.
  
  @return copy of the class