object: add clear_commit_marks_all()