Tom and Jerry Tales - Season 2 - Eps 19: Summer Squashing
Mrs. Two Shoes assigns Tom to keep all the pests, which includes Jerry, out of the garden, but the job gets pretty complicated for the cat as Jerry has a number of lookalikes with him (they all wear different coloured bandanas).
About Tom and Jerry Tales

Title: Tom and Jerry Tales
First Air Date: 2006-09-23
Last Air Date: 2008-03-22
Status: Ended
Rating: 7.5/10 (from 113 votes)
Language: EN
Seasons: 2
Total Episodes: 78
Network: The CW
Genres: Animation, Kids, Comedy, Family
Production Companies: Warner Bros. Animation, Turner Entertainment
Synopsis
Tom and Jerry Tales is an American animated television series featuring the cat-and-mouse duo Tom and Jerry.