GROOVY-6509: Fix to inherited @Memoized method.