Englishfor English speakers
detention
Noun
—
Detention is the act of detaining or the state of being detained.
—
Detention is a temporary state of custody or confinement, especially of a prisoner awaiting trial, or of a student being punished.
clause
Noun
—
A clause is a section in a contract or other legal document.
The author's contract contained a clause giving him creative control over the films.
—
A clause is a group of words that usually includes a subject and a predicate. In English, the subject usually comes before the predicate.
The last clause in the sentence is hard to understand without knowing some background.