A clause can also be a subject, direct and indirect object, subjective and objective complement. All these types of clauses function as nouns.
Subject
What you see is what you get.
Subjective complement
What you see is what you get.
Direct Object
You will get what you deserve.
Indirect Objective
The committee awarded whoever made the right combination the prize.