Identity column value after merge or insert in SQL Server

Is there a way to get the identity column value from SQL Server after a merge or insert without doing a select again?