This play is a common play, called: The rest are mine (TRAM) and it is common in all the trick-taking games, such as Spades, Hearts, Bridge, Euchre.
A common play among more experienced or skilled players is for a player who realizes that he cannot help but win all remaining tricks to simply lay down his hand and declare "the rest are mine" or similar. This is known as "TRAMing", and can help speed up the game.