Take anything you want.

Literal

Want [attributive-の] things [topic-は] anything take-go.

欲しいもの ('things [one] wants') is a relative clause using 欲しい directly. 何でも ('anything') is the free-choice pronoun. 持っていく ('take along') is 持つ ('hold') + いく ('go') = 'take [something] away with you.'