Each temporary clerk shall be paid by the clerk for whom he is acting such compensation as the court appointing him may determine. Each temporary assistant clerk appointed under section nine shall receive from the commonwealth the same salary as the assistant clerk for whom he is acting, and the amount so paid shall be deducted from the salary of such assistant clerk.
Mass. Gen. Laws ch. 221, § 100