Canon (music)
Canons were already popular in the 14th century when composers enjoyed writing music for several voices in which each voice has a share of melody (this is called polyphonic music.)   Composers like Guillaume de Machaut wrote canonic music.  His Sanz cuer m’en vois is a three-part canon in which each part has different words.