One day when he was just a boy, Mozart had occasion to listen to Allegri's sacred
Miserere in Rome. When Vatican authorities refused to allow the young composer to examine their jealously guarded score, Mozart, out of spite, simply wrote out all 120 measures... from memory!
[Mozart could spontaneouly create remarkable variations on any given theme. He could also transcribe one complex piece of music while composing another in his head.]