You can click the left-most button in the inspector's status bar, and the inspector is docked.
UPDATE: now the button is on the right . When the Inspector is in a separate window, the two small buttons in the upper right corner go to 1) the lower part of the Safari window 2) on the right side of the Safari window.
loislo
source share