Mack-Cali Realty Corp. has sold an eight-building office portfolio in Cranford and Clark, in an $87 million sale brokered by CBRE Group.