<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def clone(self, *args, **overrides):
 """Clones the NdLayout, overriding data and parameters. Args: data: New data replacing the existing data shared_data (bool, optional):
 Whether to use existing data new_type (optional):
 Type to cast object to *args: Additional arguments to pass to constructor **overrides: New keyword arguments to pass to constructor Returns: Cloned NdLayout object """

        clone = super(NdLayout, self).clone(*args, **overrides)
        clone._max_cols = self._max_cols
        clone.id = self.id
        return clone