Rafael Nadal and Novak Djokovic are set to clash for the final time.