Limericks that have the first & last line the same (or ending the same) are sometimes called "learicks", because Edward Lear favored that scheme:
There was an Old Man of Whitehaven,
Who danced a quadrille with a raven;
But they said, "It's absurd
To encourage this bird!"
So they smashed that Old Man of Whitehaven.