[#2989] Inherit complete Record state when calling Record.into(Class<? extends Record>)