In A Tree Grows in Brooklyn, the last chapter is similar to the first chapter except the protagonist is now a grown woman. For example, in the first chapter she watches the older girls prepare for their dates by washing under their arms; in the last chapter she herself is performing this ritual and another little girl is watching her.
Is there a particular term for this device? Wikipedia suggests framing, but to me that’s when a narrative goes on within another narrative (like Frankenstein). I suppose in musical terms it would be a reprise, but I’ve never heard that term applied to a literary text.