Seeking additional salary flexibility in the future, the Milwaukee Bucks used the amnesty clause on veteran forward Drew Gooden, the team announced Tuesday.

Gooden became the 20th National Basketball Association player subject to amnesty since the provision was adopted in the collective bargaining agreement signed in 2011.

The 31-year-old Gooden still will be paid the $13-plus million remaining on the five-year, $32 million deal he signed in the summer of 2010.

But under the amnesty procedure the Bucks will be able to wipe that $13 million from their salary cap, including $6.7 million for next season. Two years remained on the deal.

The provision is limited to players signed under the previous collective bargaining agreement. Players also had to be on a team's roster under the former collective bargaining agreement to be eligible for amnesty.

The deadline for using the amnesty clause this year was 11 p.m. Tuesday, and the Bucks took action to waive Gooden on the final day.

During the current amnesty period, four other NBA teams have elected to use it. Charlotte used amnesty on forward Tyrus Thomas, who had two years and $18 million remaining on his contract; and the Los Angeles Lakers used it on Metta World Peace, who had $7.7 million remaining on the final year of his deal.

World Peace agreed to terms with the New York Knicks on Monday.

Also, the Miami Heat decided to use amnesty on guard Mike Miller on Tuesday, saving the team $17 million in luxury taxes. The Heat still owes Miller $13 million over the next two years. And Toronto waived Linas Kleiza using amnesty.

Among the players to be waived in the last two years under the amnesty clause are Gilbert Arenas by Orlando, Luis Scola by Houston, former Bucks guard Charlie Bell by Golden State, Josh Childress by Phoenix, Elton Brand by Philadelphia and Brandon Roy by Portland.

The players waived through the amnesty clause account for more than $300 million in salaries.