The best example of an extended metaphor from the options provided is:
an entire poem comparing a swimmer to a dolphin.
An extended metaphor is a comparison that is developed throughout a piece of writing, and in this case, the entire poem continues to draw parallels between the swimmer and the dolphin.