Did you want a side-effect here?  At present, this statement appears to have no effect, it clones activeJobs and subtracts activeInGroup.