It is called boxing the tenon.

(I miss the edit)