Finalizing in JDK 16 - Pattern matching for instanceof