The magistrate while conducting such examination may exclude from the place of the examination all the witnesses who have not been examined; and he may also, if requested or if he sees cause, direct the witnesses whether for or against the prisoner, to be kept separate so that they cannot converse with each other until they shall have been examined. And such magistrate may in his discretion, also exclude from the place of examination any or all minors during the examination of such witnesses.
MCL 766.10