(B) Before accepting a stipulation or an admission the court shall determine that the parties understand the content and consequences of the admission or stipulation and that they voluntarily consent. Written copies of the stipulation shall be provided to the parties and their counsel.