“A pastiche is a work of visual art, literature, theatre, or music that imitates the style or character of the work of one or more other artists. Unlike parody, pastiche celebrates, rather than mocks, the work it imitates.” (Wikipedia)
Pastiche often involves a formal imitation of style that is focused on showing off the style, and where the meaning intended may be secondary or whimsical. The point is often to show off one’s ability to reproduce the style of another artist.