in Sonar, you "glue" by bouncing to clip.
Select the clips to be bounced, either by selecting the entire track or control + clicking the individual clips, then right click any of the selected clips and choose "bounce to clip"
If you want to drag a clip out to encompass additional measures, convert your clip to a groove clip by selecting it and control + L. the clip will now have rounded corners and can be dragged out for as many measures as you want.
One word of caution, your source clip MUST be a whole number of measures in length or else the timing will drift.