As a follow-up to #32405, we should also avoid cloning the annotation array unnecessarily in `isAnnotationPresent()` and `getAnnotation()`.
As a follow-up to #32405, we should also avoid cloning the annotation array unnecessarily in
isAnnotationPresent()andgetAnnotation().