frame.c: Copy the whole subclass in ast_frdup().