The sentence that includes a correctly punctuated nonrestrictive clause is:
"I asked my best friend, who has great taste in books, for a recommendation."
In this sentence, the clause "who has great taste in books" is nonrestrictive, meaning it provides additional information about "my best friend" but is not essential to the meaning of the sentence. Therefore, it is properly set off by commas.